﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp10
{

    class SYR:NPC
    {
        int key;
        public SYR(string name, NPCtype nPCtype) : base(name, nPCtype) {
        }
        public override void Speak()
        {
            Console.WriteLine(this.Name+";");
            Console.WriteLine("我是铁匠类NPC，需要我给你打造一个98k或者AWM吗？");
            Console.WriteLine("请选择:    1.需要        2.不需要");
            key = int.Parse(Console.ReadLine());
            switch (key)
            {
                case 1:
                    Console.WriteLine("请稍等！");
                    break;
                case 2:
                    Console.WriteLine("好的，下次见！");
                    break;
                default:
                    Console.WriteLine("下次见！");
                    break;
            }

        }
    }
}
